package com.qianhui.orderapi.haiguan;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

@XmlType(name = "EOrderGood", propOrder = {"GNo", "childOrderNo", "storeRecordNo", "storeRecordName", "customsListNO", "decPrice", "unit", "GQty", "declTotal", "notes"})
public class EOrderGood
{
    //商品序号	同一订单编号下不重复，从1开始，连续；	必录；
    private String GNo;
    //子订单编号	无子订单可不填；	可空；
    private String ChildOrderNo;
    //电商商户企业备案号	在海关通关服务系统中备案的电商企业编号，或代码；(前期无备案信息填写电商商户的组织机构代码)	必录，无值，退单重报；未备案企业也将退单；
    private String StoreRecordNo;
    //电商商户企业名称		必填；
    private String StoreRecordName;
    //商品海关备案号	海关反馈的商品备案号	必录，未在海关备案的商品，退单重报；
    private String CustomsListNO;
    //商品单价	货物的单价，RMB金额（元）；	必录
    private String DecPrice;
    //计量单位	海关标准的参数	必录；海关的计量单位表的代码；（UNIT）
    private String Unit;
    //商品数量		必录；
    private String GQty;
    //商品总价	出口货物的总价（按申报币制）	必录
    private String DeclTotal;
    //备注
    private String Notes;

    public EOrderGood()
    {
        super();
    }

    public EOrderGood(String gNo, String childOrderNo, String storeRecordNo, String storeRecordName, String customsListNO, String decPrice, String unit, String gQty, String declTotal, String notes)
    {
        super();
        GNo = gNo;
        ChildOrderNo = childOrderNo;
        StoreRecordNo = storeRecordNo;
        StoreRecordName = storeRecordName;
        CustomsListNO = customsListNO;
        DecPrice = decPrice;
        Unit = unit;
        GQty = gQty;
        DeclTotal = declTotal;
        Notes = notes;
    }

    @XmlElement(name = "GNo")
    public String getGNo()
    {
        return GNo;
    }

    public void setGNo(String gNo)
    {
        GNo = gNo;
    }

    @XmlElement(name = "ChildOrderNo")
    public String getChildOrderNo()
    {
        return ChildOrderNo;
    }

    public void setChildOrderNo(String childOrderNo)
    {
        ChildOrderNo = childOrderNo;
    }

    @XmlElement(name = "StoreRecordNo")
    public String getStoreRecordNo()
    {
        return StoreRecordNo;
    }

    public void setStoreRecordNo(String storeRecordNo)
    {
        StoreRecordNo = storeRecordNo;
    }

    @XmlElement(name = "StoreRecordName")
    public String getStoreRecordName()
    {
        return StoreRecordName;
    }

    public void setStoreRecordName(String storeRecordName)
    {
        StoreRecordName = storeRecordName;
    }

    @XmlElement(name = "CustomsListNO")
    public String getCustomsListNO()
    {
        return CustomsListNO;
    }

    public void setCustomsListNO(String customsListNO)
    {
        CustomsListNO = customsListNO;
    }

    @XmlElement(name = "DecPrice")
    public String getDecPrice()
    {
        return DecPrice;
    }

    public void setDecPrice(String decPrice)
    {
        DecPrice = decPrice;
    }

    @XmlElement(name = "Unit")
    public String getUnit()
    {
        return Unit;
    }

    public void setUnit(String unit)
    {
        Unit = unit;
    }

    @XmlElement(name = "GQty")
    public String getGQty()
    {
        return GQty;
    }

    public void setGQty(String gQty)
    {
        GQty = gQty;
    }

    @XmlElement(name = "DeclTotal")
    public String getDeclTotal()
    {
        return DeclTotal;
    }

    public void setDeclTotal(String declTotal)
    {
        DeclTotal = declTotal;
    }

    @XmlElement(name = "Notes")
    public String getNotes()
    {
        return Notes;
    }

    public void setNotes(String notes)
    {
        Notes = notes;
    }

    @Override
    public String toString()
    {
        return "EOrderGood [GNo=" + GNo + ", ChildOrderNo=" + ChildOrderNo + ", StoreRecordNo=" + StoreRecordNo + ", StoreRecordName=" + StoreRecordName + ", CustomsListNO=" + CustomsListNO + ", DecPrice=" + DecPrice + ", Unit=" + Unit + ", GQty=" + GQty + ", DeclTotal=" + DeclTotal + ", Notes=" + Notes + "]";
    }

}
